var OxOdef2=["outer","btnbrowse","inp_src","onclick","value","cssText","style","src","FileName"];var outer=Window_GetElement(window,OxOdef2[0],true);var btnbrowse=Window_GetElement(window,OxOdef2[1],true);var inp_src=Window_GetElement(window,OxOdef2[2],true);btnbrowse[OxOdef2[3]]=function btnbrowse_onclick(){function Ox354(Ox137){if(Ox137){inp_src[OxOdef2[4]]=Ox137;} ;} ;editor.SetNextDialogWindow(window);editor.ShowSelectFileDialog(Ox354,inp_src.value);} ;UpdateState=function UpdateState_Media(){outer[OxOdef2[6]][OxOdef2[5]]=element[OxOdef2[6]][OxOdef2[5]];outer.mergeAttributes(element);if(element[OxOdef2[7]]){outer[OxOdef2[8]]=element[OxOdef2[8]];} else {outer.removeAttribute(OxOdef2[8]);} ;} ;SyncToView=function SyncToView_Media(){inp_src[OxOdef2[4]]=element[OxOdef2[8]];} ;SyncTo=function SyncTo_Media(element){element[OxOdef2[8]]=inp_src[OxOdef2[4]];} ;